home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / amiga20 / clib / gadtools_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-11  |  2.7 KB  |  79 lines

  1. #ifndef  CLIB_GADTOOLS_PROTOS_H
  2. #define  CLIB_GADTOOLS_PROTOS_H
  3. /*
  4. **    $Filename: clib/gadtools_protos.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 30.156 $
  7. **    $Date: 1995/01/11 05:18:09 $
  8. **
  9. **    C prototypes. For use with 32 bit integers only.
  10. **
  11. **    (C) Copyright 1990 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14. /* "gadtools.library" */
  15. #ifndef  EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18. #ifndef  INTUITION_INTUITION_H
  19. #include <intuition/intuition.h>
  20. #endif
  21. #ifndef  UTILITY_TAGITEM_H
  22. #include <utility/tagitem.h>
  23. #endif
  24. #ifndef  LIBRARIES_GADTOOLS_H
  25. #include <libraries/gadtools.h>
  26. #endif
  27. /*--- functions in V36 or higher (distributed as Release 2.0) ---*/
  28. /**/
  29. /* Gadget Functions */
  30. /**/
  31. struct Gadget *CreateGadgetA( unsigned long kind, struct Gadget *gad,
  32.     struct NewGadget *ng, struct TagItem *taglist );
  33. struct Gadget *CreateGadget( unsigned long kind, struct Gadget *gad,
  34.     struct NewGadget *ng, Tag tag1, ... );
  35. void FreeGadgets( struct Gadget *gad );
  36. void GT_SetGadgetAttrsA( struct Gadget *gad, struct Window *win,
  37.     struct Requester *req, struct TagItem *taglist );
  38. void GT_SetGadgetAttrs( struct Gadget *gad, struct Window *win,
  39.     struct Requester *req, Tag tag1, ... );
  40. /**/
  41. /* Menu functions */
  42. /**/
  43. struct Menu *CreateMenusA( struct NewMenu *newmenu, struct TagItem *taglist );
  44. struct Menu *CreateMenus( struct NewMenu *newmenu, Tag tag1, ... );
  45. void FreeMenus( struct Menu *menu );
  46. BOOL LayoutMenuItemsA( struct MenuItem *firstitem, APTR vi,
  47.     struct TagItem *taglist );
  48. BOOL LayoutMenuItems( struct MenuItem *firstitem, APTR vi, Tag tag1, ... );
  49. BOOL LayoutMenusA( struct Menu *firstmenu, APTR vi, struct TagItem *taglist );
  50. BOOL LayoutMenus( struct Menu *firstmenu, APTR vi, Tag tag1, ... );
  51. /**/
  52. /* Misc Event-Handling Functions */
  53. /**/
  54. struct IntuiMessage *GT_GetIMsg( struct MsgPort *iport );
  55. void GT_ReplyIMsg( struct IntuiMessage *imsg );
  56. void GT_RefreshWindow( struct Window *win, struct Requester *req );
  57. void GT_BeginRefresh( struct Window *win );
  58. void GT_EndRefresh( struct Window *win, long complete );
  59. struct IntuiMessage *GT_FilterIMsg( struct IntuiMessage *imsg );
  60. struct IntuiMessage *GT_PostFilterIMsg( struct IntuiMessage *imsg );
  61. struct Gadget *CreateContext( struct Gadget **glistptr );
  62. /**/
  63. /* Rendering Functions */
  64. /**/
  65. void DrawBevelBoxA( struct RastPort *rport, long left, long top, long width,
  66.     long height, struct TagItem *taglist );
  67. void DrawBevelBox( struct RastPort *rport, long left, long top, long width,
  68.     long height, Tag tag1, ... );
  69. /**/
  70. /* Visuals Functions */
  71. /**/
  72. APTR GetVisualInfoA( struct Screen *screen, struct TagItem *taglist );
  73. APTR GetVisualInfo( struct Screen *screen, Tag tag1, ... );
  74. void FreeVisualInfo( APTR vi );
  75. /**/
  76. /* Reserved entries */
  77. /**/
  78. #endif     /* CLIB_GADTOOLS_PROTOS_H */
  79.